from base.base import Base

class SearchBase(Base):
    def search_bar_for_input(self):
        return '//android.widget.EditText[@resource-id="com.dangdang.buy2:id/et_search"]'
    def search_bar_button(self):
        return '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/tv_search"]'
    def book_title(self):
        return  '//android.widget.TextView[@resource-id="com.dangdang.buy2:id/product_title_tv" and @text="浪潮之巅 第四版"]'